﻿Imports Microsoft.VisualBasic
Imports JPC.Medialibrary.DAL

Public Class SeriesManager

    Public Shared Sub AddEpisodeToHistory(ByVal filename As String)

        Dim _ep As New EpisodeViewHistory
        _ep.LoadByParam(EpisodeViewHistory.Columns.FileName, filename)
        If _ep.IsNew Then
            _ep.FileName = filename
        End If
        _ep.ViewDate = Today
        _ep.Save()

    End Sub

End Class
